/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package omsalonsystem.ws.Model;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author brsolucoes.lmolinari
 */
@Entity
@Table(name = "SERVICO")
public class Servico implements Serializable {
    @Id
    @Basic(optional = false)
    @Column(name = "IdServico")
    private int idServico;
    private String nome;
    private double valor;

    /**
     * @return the nome
     */
    public String getNome() {
        return nome;
    }

    /**
     * @param nome the nome to set
     */
    public void setNome(String nome) {
        this.nome = nome;
    }

    /**
     * @return the valor
     */
    public double getValor() {
        return valor;
    }

    /**
     * @param valor the valor to set
     */
    public void setValor(double valor) {
        this.valor = valor;
    }

    /**
     * @return the IdServico
     */
    public int getIdServico() {
        return idServico;
    }

    /**
     * @param IdServico the IdServico to set
     */
    public void setIdServico(int idServico) {
        this.idServico = idServico;
    }
}
